.detail {
    &_tabs_item {
        margin-top: 2.1rem;
    }

    &_search {
        width: 100%;
        top: 0;
        z-index: 1000;
        top: 2.2rem;
        animation-duration: 1s;
        animation-fill-mode: forwards;


        .mk_btn_close {
            background: #999999;
            left: 0;
        }

        .mk_icon_arrow_left {
            color: #666666;
        }
    }

    .am-tabs-tab-bar-wrap {
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }

    .hide {
        animation-name: tod_Hide;
    }

    .show {
        animation-name: tod_Show;
    }

    @keyframes tod_Hide {
        0% {
            transform: translate(0, 0);
            visibility: visible;
        }
        100% {
            transform: translate(0, -4.7rem);
            visibility: visible;
        }
    }

    @keyframes tod_Show {
        0% {
            transform: translate(0, -4.7rem);
            visibility: visible;
        }
        100% {
            transform: translate(0, 0%);
            visibility: visible;
        }
    }

    &_search_default {
        position: fixed;
        top: 0;
    }

    .tabs__label {
        .am-tabs-default-bar-tab {
            width: auto !important;
            padding: 0 0.8rem;
            white-space: nowrap;
            box-sizing: initial;
        }

        .am-tabs-default-bar-content {
            transform: inherit !important;
            width: auto !important;
            touch-action: inherit !important;
        }

        .am-tabs-default-bar {
            overflow-x: scroll !important;
            -webkit-overflow-scrolling: touch !important;
        }

        .am-tabs-default-bar-prevpage {
            height: 42px;
            top: 2.5rem;
            position: fixed;
        }

        .am-tabs-default-bar-nextpage {
            height: 42px;
            top: 2.5rem;
            position: fixed;
        }
    }

    &_classfy {
        height: 1rem;
        width: 1rem;
    }

    .classfy {
        position: fixed;
        z-index: 10001;
        right: 0;
        text-align: center;
        font-size: 0.75rem;
        width: 25%;
        height: 2.1rem;
        line-height: 2.1rem;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }

    .am-tabs-pane-wrap {
        overflow: hidden;
    }

    &_item {
        background: #fff;
        padding: 0.35rem 0.7rem;

        &__img {
            height: 6.5rem;
            background: #f8f8f8;
            width: 6.5rem;

            img {
                height: 100%;
                margin: 0 auto;
                display: block;
            }
        }

        &:last-child &_info::after {
            height: 0;
        }

        &_info {
            margin-left: 0.8rem;

            &::after {
                bottom: -0.35rem;
            }

            &__title {
                margin-top: 0.5rem;
                font-size: 0.7rem;
                color: #333;
            }

            &__number {
                color: #fa0000;
                font-size: 0.95rem;
                margin-top: 2rem;

                .btn {
                    height: 0.7rem;
                    border: 0.05rem solid #97f1bb;
                    font-size: 0.5rem;
                    line-height: 0.7rem;
                    color: #97f1bb;
                    border-radius: 0.35rem;
                    padding: 0 0.25rem;
                    margin-left: 0.3rem;
                }

                span.hendou {
                    margin-left: 0.25rem;
                    font-size: 0.75rem;
                    position: relative;
                    top: 0.1rem;
                }
            }

            &__label {
                font-size: 0.55rem;
                color: #888888;
                margin-top: 0.5rem;
            }
        }

        &.vertical {
            padding: 0;
            display: inline-block;
            width: calc(50% - 0.475rem);
            height: 13.15rem;
            box-sizing: border-box;
            position: relative;

            &:nth-child(odd) {
                margin: 0.25rem 0.125rem 0 0.35rem;

                &::after {
                    content: "";
                    position: absolute;
                    height: 200%;
                    width: 200%;
                    top: calc(-50% - 0.05rem);
                    left: calc(-50% - 0.05rem);
                    border: 0.05rem solid #e6e6e6;
                    transform: scale(0.5)
                }
            }

            &:nth-child(even) {
                margin: 0.25rem 0.35rem 0 0.125rem;

                &::after {
                    content: "";
                    position: absolute;
                    height: 200%;
                    width: 200%;
                    top: calc(-50% - 0.05rem);
                    left: -50%;
                    border: 0.05rem solid #e6e6e6;
                    transform: scale(0.5)
                }
            }

            .detail_item {
                &__img {
                    width: 100%;
                    height: 8.85rem;
                }

                &_info {
                    &__title {
                        font-size: 0.65rem;
                        height: 1.8rem;
                        line-height: 0.9rem;
                        overflow: hidden;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                    }

                    &__number {
                        margin-top: 0.5rem;
                        font-size: 0.75rem;

                        span.hendou {
                            margin-left: 0.25rem;
                            font-size: 0.65rem;
                            position: relative;
                            top: 0.15rem;
                        }
                    }
                }
            }
        }
    }

    .am-tabs-tab-bar-wrap {
        height: 2.1rem;
        position: fixed;
        width: 100%;
        z-index: 1000;

        &::after {
            content: "";
            position: absolute;
            height: 0.05rem;
            width: 100%;
            background: #e9e9e9;
            transform: scaleY(0.5);
        }

        .am-tabs-default-bar-tab {
            font-size: 0.75rem;
            height: 2.1rem;
            line-height: 2.1rem;

            &::after {
                height: 0 !important;
            }
        }

        .am-tabs-default-bar-underline {
            display: none;
        }
    }

    &_interest {
        height: 2.1rem;

        img {
            height: 0.725rem;
        }
    }

    &_gird {
        >div {
            margin-bottom: 0.6rem;

            &:last-child {
                margin-bottom: 0rem;
            }
        }

        background: initial;
        margin-top: 0;
        padding: 0 0.7rem;

        &__logo {
            height: 8.5rem;
            width: 100%;
            display: block;
        }

        &__title {
            height: 2rem;
            padding: 0 0.5rem;
            background: #fff;
            font-size: 0.7rem;
            color: #333333;
        }
    }

    &_popover {
        position: fixed;
        left: 0;
        width: 100%;
        top: 4.35rem;
        background: #fff;
        padding: 0.7rem;
        padding-top: 0;
        transform: translate(0, -0.2rem);

        .btn {
            height: 1.6rem;
            width: calc(25% - 0.45rem);
            font-size: 0.6rem;
            border-radius: 0.8rem;
            margin-right: 0.55rem;
            margin-top: 0.65rem;
            background: #f6f6f6;
            border-color: #f6f6f6;
            box-sizing: border-box;

            &:nth-child(4n) {
                margin-right: 0rem;
            }

            &.active {
                border-color: #fc7a79;
                background: #fef4f3;
            }
        }
    }

    .select_arrow {
        width: 0.35rem;
        margin-left: 0.3rem;
    }
}

.am-popover-arrow {
    display: none;
}